package com.taocore.top.title.service;

import java.io.IOException;
import java.net.URISyntaxException;
import java.util.logging.Level;
import java.util.logging.Logger;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class RealTimeDataJob implements Job{

	static Logger _log = Logger.getLogger(RealTimeDataJob.class.getName());
	
	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		try {
			RealTimeKeywordsImport.importData();
		} catch (IOException e) {
			_log.log(Level.SEVERE, "", e);
		} catch (URISyntaxException e) {
			_log.log(Level.SEVERE, "", e);
		}
	}

}
